package Test3;

public class Boll extends Pillar{
	private double r;
	public Boll(double r){
		this.r=r;
	}
	public double area(){
		return (4*3.14*r*r);
	}
	public double volume(){
		return (4*3.14*r*r*r/3);
	}
	
}
